<?php  
class ControllerCommonMenuContent extends Controller {
	protected function index() {
		$this->load->model('tool/seo_url');
		$this->id = 'menu_content';
		$this->data['home'] = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=common/home');
		$this->data['news'] = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=news/news');
		$this->data['about_us'] = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=information/information&information_id=4');
		$this->data['contact'] = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=information/contact');
		$this->data['customer_support'] = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=information/information&information_id=7');
		$this->data['general_method'] = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=information/information&information_id=8');
		$this->data['information'] = $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=information/information&information_id=9');
		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/menu_content.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/common/menu_content.tpl';
		} else {
			$this->template = 'default/template/common/menu_content.tpl';
		}
		
		foreach(get_object_vars($this->document) as $key => $value) {
			$this->data[$key] = $value;
		}
		
		$this->render();
	}
}
?>